<template>
	<view>

		<view class="">
			<button @click="btn">退出登录</button>
		</view>
	</view>
</template>

<script>
	import Hoc from '../../utils/Hoc.js'
	export default {
		data() {
			return {

			}
		},
		onLoad() {

		},
		methods: {

			btn() {
				uni.navigateTo({
					url: '/pages/login/login'
				})
			},

			onShow() {
				Hoc()
			}


		},
	}
</script>

<style less='scss' scoped>
	.mytop {
		width: 100%;
		height: 150px;
		background-color: red;
		text-align: center;
		color: azure;
		line-height: 20px;
	}

	.mytop b {

		margin: 10px 40% 10px;
		width: 50px;
		height: 50px;
		border: solid 1px #fff;
		border-radius: 50%;
	}

	.btn {
		width: 100%;
		height: 50px;
		background-color: red;
		text-align: center;
		line-height: 50px;
		color: #fff;
	}
</style>